home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.20021006-20030409 / 000015_era@eracc.hypermart.net_Tue Oct 15 13:30:07 EDT 2002.msg < prev    next >
Text File  |  2003-04-08  |  2KB  |  54 lines

  1. Article: 13778 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!prodigy.com!rip!newsfeeds-atl2!news.webusenet.com!pc01.webusenet.com!news.bellsouth.net.POSTED!not-for-mail
  3. Message-ID: <2719663.PLrj5Ze9za@era1.eracc.UUCP>
  4. From: ERA <era@eracc.hypermart.net>
  5. Subject: Re: telneting through a cronjob
  6. Newsgroups: comp.os.linux.setup,comp.protocols.kermit.misc
  7. Followup-To: comp.os.linux.setup
  8. References: <Pine.GSO.4.21.0210141710440.14291-100000@sjau.ifi.uio.no>
  9. Lines: 30
  10. Organization: ERA Computer Consulting
  11. User-Agent: KNode/0.6.1
  12. MIME-Version: 1.0
  13. Content-Type: text/plain; charset=us-ascii
  14. Content-Transfer-Encoding: 7Bit
  15. X-Is-It-News: Yes
  16. X-Complaints-To: abuse@usenetserver.com
  17. X-Abuse-Info: Please be sure to forward a copy of ALL headers
  18. X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
  19. NNTP-Posting-Date: Tue, 15 Oct 2002 13:23:22 EDT
  20. Date: Tue, 15 Oct 2002 12:27:48 -0500
  21. Xref: newsmaster.cc.columbia.edu comp.os.linux.setup:452276 comp.protocols.kermit.misc:13778
  22.  
  23. Thomas Fyhn, thomasfy@ifi.uio.no wrote:
  24.  
  25. > I am trying to set up a cronjob that involves telneting onto a
  26. > server. First I do the following command: telnet 123.123.123.123
  27. > Then I get promted in the console:
  28. > user: <here I enter username>
  29. > password: <passwoed>
  30.  
  31. > Does anyone know how i get a cronjob (or something like that) to
  32. > enter text right to the console? I guess that is what i need to do?
  33.  
  34. This can be done with c-kermit scripting. If you install a secure
  35. telnet server on the "other" end you can even have secure telnet
  36. sessions. If you (aren't going to | don't need to) worry about
  37. securing the session then just use vanilla c-kermit.
  38.  
  39.      http://www.columbia.edu/kermit/
  40.  
  41. I *strongly* recommend buying the book for sale at the site above.
  42. The cost of the book is well worth the time saved trying to figure
  43. out the script commands without it.
  44.  
  45. Gene <gene@eracc.hypermart.net>
  46. SCO Group Authorized Partner - OpenServer, UnixWare & SCO Linux
  47. -- 
  48. Linux era1.eracc.UUCP 2.4.13 i686
  49.  12:20pm  up 19 days, 19:12,  4 users,  load average: 0.21, 0.17, 0.27
  50. ERA Computer Consulting http://eracc.hypermart.net/
  51. eCS, OS/2, Linux, OpenServer, UnixWare, SCO Linux resellers
  52.  
  53.  
  54.